import { createWebHashHistory, createRouter } from 'vue-router'

import Home from '@/views/Home.vue'

const routes = [
  { path: '/', redirect: '/home' },
  { path: '/home', component: Home },
  { path: '/bill', component: () => import('@/views/Bill.vue') }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
